# status_tab.pl
# function for tabform

# load modules
require "./ebbms-lib.pl";


# status_tab()
# status tab generate functions
sub status_tab()
{
	# configure form start #
	print &ui_form_start("index.cgi", "get");


	# tab name #
	print &ui_hidden("tab", "status");


	# table start #
	@tds = ("bgcolor=\"#dcdcdc\" width=\"30%\"", "bgcolor=\"#eeeeee\" width=\"70%\"");
	print &ui_columns_start(undef, 100, 1);


	# hardware status #
	$hardwareStatus = "停止中";
	print &ui_columns_row(["ハードウェア状態", $hardwareStatus], \@tds);


	# vendor id #
	$vendorId = "0x0000";
	print &ui_columns_row(["ベンダーID", $vendorId], \@tds);


	# product id #
	$productId = "0x0001";
	print &ui_columns_row(["プロダクトID", $productId], \@tds);


	# table end #
	print &ui_columns_end();


	# run button
	print "<br>";
	print &ui_submit("更新");


	# configure form end
	print &ui_form_end();
}

# status_run()
# status run functions
sub status_run()
{
	
}

